package com.cwnu.sw.cys.core.user.service;

import com.cwnu.sw.cys.core.common.domain.vo.resp.UserInfoResp;
import com.cwnu.sw.cys.core.user.domain.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cwnu.sw.cys.core.user.domain.vo.req.BlackReq;
import com.cwnu.sw.cys.core.user.domain.vo.resp.BadgeResp;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author jisam
 * @since 2025-02-10
 */
public interface UserService extends IService<User> {

    Long register(User insertUser);

    UserInfoResp getUserInfo(Long uid);

    Void modifyName(Long uid, String newName);

    List<BadgeResp> getBadges(Long uid);

    void wearingBadges(Long uid, Long itemId);

    void black(BlackReq req);
}
